/*
	File: data/scripts/item_rotation.nut
	Author: Astrofra
*/

/*!
	@short	ItemRotation
	@author	Astrofra
*/
class	ItemRotation
{
	/*!
		@short	OnUpdate
		Called during the scene update, each frame.
	*/
	function	OnUpdate(item)
	{
		local	rot = ItemGetRotation(item)
		rot.y += (g_dt_frame * DegreeToRadian(30.0))
		ItemSetRotation(item, rot)
	}
}
